﻿using System;
using System.IO;
using Soveryn.Commerce.API;
using Soveryn.Commerce.Shared;

namespace Soveryn.Commerce.Pages
{
    public partial class SiteTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            try
            {
                using (StreamReader sr = new StreamReader(Server.MapPath("~/version.txt")))
                {
                    Response.Write(sr.ReadToEnd());
                }
            }
            catch (Exception ex)
            {
                Response.Write("error");
                MiscUtils.Log(ex.ToString());
            }

        }
    }
}